package cn.powertime.evaluation.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CpsSearchVo {
    private  Long id;

    @ApiModelProperty(value="搜索内容不能为空",name="title")
    @NotNull(message = "搜索内容不能为空")
    private  String title;

    private  Long userId;
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
